export const commonRoutes = [{
    path: '/',
    name: 'common',
    redirect: "/auth",
    component: () => import('@/layout/common/index.vue'),
    children: [{
        path: 'home',
        name: 'home',
        component: () => import('@/views/common/home/index.vue'),
        meta: {
            requireLogin: true,
        }
    }, {
        path: 'info/:key?',
        name: 'info',
        component: () => import('@/views/common/database/info/index.vue'),
        meta: {
            requireLogin: true,
        }
    },
        {
            path: 'data/:key/:index',
            name: 'data',
            component: () => import('@/views/common/database/data/index.vue'),
            meta: {
                requireLogin: true,
            }
        }],
}, {
    path: 'auth',
    name: 'auth',
    component: () => import('@/views/auth/index.vue'),
}]

